package com.hnx.admin.system.convert.user;

import com.hnx.admin.system.dto.user.UserDTO;
import com.hnx.admin.system.vo.user.UserVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

/*
创建人： 倔强的头发
创建时间：2024/7/13
功能描述:

*/
@Mapper(componentModel = "spring")
public interface UserConvert {
    @Mapping(target = "userDTO.password", ignore = true)
    UserVO toUserVO(UserDTO userDTO);
}
